body {
    background-image: linear-gradient(to right top, #fe1493, #2980b9);
}

.container {
    padding: 100px 8%;
    display: flex;
    justify-content: center;
}

/* 事件响应 */
.aside.pos {
    position: sticky;
    top: 0px;
}

.container .aside {
    width: 280px;
    height: 50%;
    background-color: var(--white);
    border-right: var(--black) solid;

}

.container .asideContainer {
    margin: 5%;
    text-align: center;
}

.container .aside img {
    width: 50%;
    height: 50%;
    border: 1.5px solid var(--black);
    border-radius: 50%;
    margin-bottom: 5%;
}

.container .aside p {
    color: var(--blue);
    margin: 3% auto 5% auto;
}

.container .aside .socialAccounts {
    display: flex;
    justify-content: center;
    gap: 2%;
}

.container .aside .socialAccounts li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
}

.container .contactBtn {
    width: 7em;
    height: 3em;
    margin-top: 8%;
    background-color: var(--blue);
    border-radius: 15px;
    color: var(--white)
}


.container .main {
    padding: 2% 3%;
    width: 70%;
    background-color: var(--white);
}

.main h2 {
    color: var(--blue);
}

.container .main .section1 p {
    color: var(--light-color);
    line-height: 2;
    margin-top: 1em;
}

.container .main .section1 ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 1em;
    line-height: 2.5;
}


.container .main .section2 .technologyStack {
    display: flex;
    /* justify-content:space-between ; */
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5%;
}

.main .section2 .technologyStack .content {
    text-align: center;
    flex: 1 1 20px;
    background-color: var(--light-bg);
    border-radius: 5%;
    padding: 20px;

}

.main .section2 .technologyStack .content img {
    height: 50px;
    margin-bottom: 10px;
}

.container .main .section3 ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
}

.container .main .section3 ul li div {
    display: flex;
    justify-content: space-between;
    line-height: 250%;
    /* line-height: 40px; */
}

.container .main .section3 ul .proportion {
    width: 100%;
    height: 12px;
    /* 比例条的宽度 */
    border-radius: 25px;
    background-color: var(--light-bg);
}

.main .section3 ul .proportion .p_progress {
    height: inherit;
    border-radius: 25px;
    background-color: var(--blue);
}

.main .section3 ul .html .p_progress {
    width: 95%;
}

.main .section3 ul .JQuery .p_progress {
    width: 90%;
}

.main .section3 ul .CSS .p_progress {
    width: 80%;
}

.main .section3 ul .React .p_progress {
    width: 75%;
}

.main .section3 ul .JavaScript .p_progress {
    width: 65%;
}

.main .section3 ul .Vue .p_progress {
    width: 65%;
}

.main .section3 ul .Photoshop .p_progress {
    width: 75%;
}

.main .section3 ul .ArcMap .p_progress {
    width: 80%;
}

.container .main .section4 div {
    margin: 3% 0;
    padding: 3%;
    background-color: var(--light-bg);
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    line-height: 2em;
}

.main .section4 div h4 {
    color: var(--blue);
}

.main .section4 div p {
    color: var(--light-color);
    font-size: 0.9em;
}

.container .main .section5 .contactContents {
    display: flex;
    padding-top: 2%;

}

.main .section5 .contactContents li {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
}

.main .section5 .contactContents li .icon {
    /* padding: 5%; */
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
    border-radius: 50%;
    color: var(--white);
}

.main .section5 .contactContents .text {
    line-height: 2;
}

.main .section5 .contactContents p {
    color: var(--light-color);
    font-size: small;
}

/* 媒体查询 */
@media screen and (max-width:1000px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .main {
        margin-top: 20px;
        border-radius: 5px;
        box-shadow: var(--box-shadow);
    }

    .aside.pos {
        position: static;
    }

    .main .section5 .contactContents {
        flex-wrap: wrap;
    }

    .container .main .section1 ul {
        display: block;
    }

    .container .main .section3 ul {
        display: block;
    }
    .container .aside {
        border-right: none;
        border-radius: 5px;
        box-shadow: var(--box-shadow);
    }

}

@media screen and (max-width:450px) {
    .container{
        margin:5%;
    }
    .container .aside{
        width: 100%;
    }
    .container .main{
        width:100%;
    }


}